<ul class="sf-menu">
	<li>
		<a href="<?php echo $this->url->action("index","Index")?>">Trang chủ</a>
	</li>
<?php 
foreach ($this->arrTopMenu as $key => $item)
{
?>
	<li>
		<a href="<?php echo $this->url->action("index", "News", array($key))?>"><?php echo $this->modelNC->getName($key)?></a>
		<ul>
		<?php 
		foreach ($item as $i)
		{
		?>
			<li>
			<?php if (isset($i['title'])){?>
			<a href="<?php echo $this->url->action("index","News", array($i['categoryID'],$i['id']))?>"><?php echo $i['title'];?></a>
			<?php 
			}else{
			?>
			<a href="<?php echo $this->url->action("index","News", array($i['id']))?>"><?php echo $i['name'];?></a>
			<?php }?>
			</li>
		<?php 
		}
		?>
		</ul>
	</li>
<?php 
}
?>	
	<li>
		<a href="<?php echo $this->url->action("index","Products")?>">Sản phẩm</a>
	</li>
	<li>
		<a href="<?php echo $this->url->action("index","Contact")?>">Liên hệ</a>
	</li>
</ul>